////////////////////////////////////////////////////////////////////////////////////////
// Stauffer Public Perceptions of Women's Inclusion and Feelings of Political Efficacy
// Replication Code - Appendix 5
///////////////////////////////////////////////////////////////////////////////////////

***********
// TABLE A4
***********

/// Replicate substantive results of MT Table 2 w/ linear model

*set working directory 
use 17_CCES.dta, clear 

*Additive 
mixed state_responsive c.state c.state_guess gender_r c.ideo7##c.state_ideo01 congruence i.party strong_partisan know_state ///
c.age##c.age white coll employed religiosity ||StateAbbr:, cov(uns)

estimates store state_add1 

*Inteactive 
mixed state_responsive c.state##gender_r c.state_guess##gender_r c.ideo7##c.state_ideo01 congruence i.party strong_partisan know_state ///
c.age##c.age white coll employed religiosity ||StateAbbr:, cov(uns)

estimates store state_int1 

*Generate Latex Code For Table
estout state_add1 state_int1, cells(b(star fmt(%9.3f)) se(par)) ///
style(tex) stats(N) nobaselevels interaction ("X") starlevels (* .1 ** .05 *** .01)
